/* ---------------------------------- */
/* 好友列表 */
.mycard, .friend-card {
    display: flex;
    justify-content: left;
    align-items: center;
}


/* 展示用户信息的卡片 */
.mycard {
    background: #2e2e2e;
    border-bottom: 1px solid #666;
    border-radius: 10px;
    padding: 20px;
    border-bottom: 1px solid #4d4d4d;
    color: rgba(255, 255, 255);
}

.state {
    color: #26a1ff;
    background: rgba(38,161,255,.1);
    position: relative;
    margin-left: 4px;
    display: inline-block;
    height: 16px;
    line-height: 16px;
    border-radius: 8px;
    padding: 0 8px;
    font-size: 10px;
    vertical-align: middle;

}

#state-yes {
    background: rgba(38,161,255,.1);
    color: #26a1ff;
}
#state-no {
    color: #ff7e0e;
    background: rgba(255,126,14,.1);
}


.friend-card {
    /* 鼠标经过变小手 */
    cursor:pointer;
    border-radius: 10px;
    padding: 20px;
    background: #3d3d3d;
    border-bottom: 1px solid #2e2e2e;
}

.friend-card:hover {
    background-color:  #2e2e2e;
}

/* 左侧部分, 用来放置用户信息 */
.container-left {
    height: 90%;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    overflow: auto;
    background: #2e2e2e;
    color: #fff;
}

.container-right {
    height: 90%;
    width: 697px;
    background-color: white;
}

.photo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.username {
    padding: 10px;
    font-size: large;
}
/* ---------------------------------- */
/* 聊天信息框 */

.chatList {
    height: 55%;
    border-bottom: 1px solid #d1d1d1;
    overflow: auto;
}

.userInfo {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid #b3b3b3;
    border-radius: 10px;
    background-color: white;
    margin-bottom: 20px;
}

.userInfo > span {
    margin-left: 25px;
    font-size: large;
}

.other {
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 10px;
}

.msg {
    float: left;
    line-height: 28px;
    padding: 4px 12px;
    max-width: 424px;
    font-size: 14px;
    color: #8b4513;
    background: #f5f6f7;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    border-radius: 4px;
    margin: 0 10px;
    word-break: break-word;
    position: relative;
    white-space: pre-wrap;
}

.self > .msg {
    color: #222226;
    background: #cad9ff;
}

.self {
    display: flex;
    justify-content: right;
    align-items: center;
    margin: 10px;
}

#messageText {
    position: relative;
    margin-right: 2px;
    font: 14px/1.5 Helvetica,Arial,Tahoma,微软雅黑;
    width: 98%;
    height: 110px;
    outline: none;
    background: #fff;
    border: 0 none;
    overflow-y: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: none;
    vertical-align: middle;
    display: inline-block;
    font-size: medium;
    margin: 5px 10px;
}

.sendMsg {
    display: flex;
    justify-content: right;
    align-items: center;
}

#sendButton {
    margin-top: 5px;
    width: 120px;
    height: 44px;
    background-color: #fc5531;
    color: white;
    outline: 0;
    border: 0 none;
    background-size: 120px 50px;
    border-radius: 5%;
    font-size: 15px;
    cursor: pointer;
    transition: all .2s ease-in;
}

.container-right > .blank-list {
    text-align: center;
    line-height: 597px;
    color: #bec9d2;
}